package com.wxc.vo;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author wxc
 * @date 2021年10月01日 17:41
 */
@Getter
@ToString
@AllArgsConstructor
public enum RespCode implements Serializable {
    SUCCESS(200, "SUCCESS"),
    ERROR(500, "服务端异常"),
    LOGIN_ERROR(20001, "账号或密码错误"),
    CHAT_ERROR(30001, "对方不不在线"),
    SEND_FILE_ERROR(40001, "对方不不在线");

    private static final long serialVersionUID = 1L;
    private final Integer code;
    private final String message;
}